//
//  BRHuoDongViewController.m
//  MyBaseProject
//
//  Created by 任波 on 2017/9/21.
//  Copyright © 2017年 任波. All rights reserved.
//

#import "BRHuoDongViewController.h"

@interface BRHuoDongViewController ()
@property (nonatomic, strong) UIImageView *emptyImageView;

@end

@implementation BRHuoDongViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.navigationItem.title = @"优惠活动";
    self.emptyImageView.hidden = NO;
}

- (UIImageView *)emptyImageView {
    if (!_emptyImageView) {
        _emptyImageView = [[UIImageView alloc]init];
        _emptyImageView.backgroundColor = [UIColor clearColor];
        _emptyImageView.image = [UIImage imageNamed:@"nomes"];
        [self.view addSubview:_emptyImageView];
        [_emptyImageView mas_makeConstraints:^(MASConstraintMaker *make) {
            make.center.mas_equalTo(self.view);
            make.size.mas_equalTo(CGSizeMake(100, 100));
        }];
    }
    return _emptyImageView;
}

@end
